Skip to content

Added implementation for --noheading option for podman farm list - #29541

Open
The-indigo wants to merge 1 commit into
podman-container-tools:mainfrom
The-indigo:no-heading
Open

Added implementation for --noheading option for podman farm list#29541
The-indigo wants to merge 1 commit into
podman-container-tools:mainfrom
The-indigo:no-heading

Conversation

@The-indigo

Copy link
Copy Markdown

Checklist

Ensure you have completed the following checklist for your pull request to be reviewed:

  • I have read and understood our contributing guidelines and will not have more than two open PRs as a new contributor.
  • PR description, commit message, and GitHub comments are human-written, per LLM Policy
  • Certify you wrote the patch or otherwise have the right to pass it on as an open-source patch by signing all
    commits. (git commit -s). (If needed, use git commit -s --amend). The author email must match
    the sign-off email address. See CONTRIBUTING.md
    for more information.
  • Referenced issues using Fixes: #00000 in commit message (if applicable)
  • Tests have been added/updated (or no tests are needed)
  • Documentation has been updated (or no documentation changes are needed)
  • All commits pass make validatepr (format/lint checks)
  • Release note entered in the section below (or None if no user-facing changes)

Does this PR introduce a user-facing change?

None

Pr description

This pr implements the --noheading option for podman farm list including the -n shorthand command. After adding the implementation, it was tested manually by running the cli command and the output is displayed as expected. Also, added the manfile and the system test in the respective files.This implementation lists the podman farms without the headers i.e (Name,Connections,Default,ReadWrite)

Cli command:
./bin/podman farm list --noheading
./bin/podman farm list -n

@Honny1 Honny1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

PTAL @podman-container-tools/podman-maintainers @podman-container-tools/podman-reviewers

Comment thread test/farm/001-farm.bats Outdated
}



Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These extra lines can be trimmed

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed the extra lines and done a rebase from the recent merged changes in main. Please verify and let me know if anything else needs to be worked on.

@mheon

mheon commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

I suspect #29536 will go in first and this will probably need a rebase after

@mheon

mheon commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

LGTM

@mheon
mheon enabled auto-merge August 18, 2026 01:48

@Honny1 Honny1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this failure seems to be seriouse:

xref-helpmsgs-manpages: 'podman farm list --help' lists '--noheading', which is not in docs/source/markdown/podman-farm-list.1.md
hack/xref-helpmsgs-manpages
xref-helpmsgs-manpages: 'podman farm list --help' lists '-n', which is not in docs/source/markdown/podman-farm-list.1.md
make: *** [Makefile:645: xref-helpmsgs-manpages] Error 1


Print farm output in quiet mode. Only print the farm names.

@@option noheading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this won't properly expand.

@packit-as-a-service

Copy link
Copy Markdown

[NON-BLOCKING] Packit jobs failed. @podman-container-tools/packit-jobs please check. Everyone else, feel free to ignore.

Signed-off-by: Adeyemi Adepoju <adepojuadeyemi11@gmail.com>
Comment on lines +28 to +34
[//]: # (BEGIN included file options/noheading.md)
#### **--noheading**, **-n**

Omit the table headings from the listing.

[//]: # (END included file options/noheading.md)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is not correct, you need to commit the .in file and options/noheading.md remove the main podman-farm-list.1.md from the git repo and then add it to .gitignore here in the directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants